package cn.com.taurus.impl;

import cn.com.taurus.bean.FundManagerWebBean;
import cn.com.taurus.entity.Fund;
import cn.com.taurus.mapper.FundManagerMapper;
import cn.com.taurus.mapper.FundManagerWebBeanMapper;
import cn.com.taurus.service.FundManagerWebBeanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FundManagerWebBeanImpl implements FundManagerWebBeanService {
    @Autowired
    FundManagerWebBeanMapper fundManagerWebBeanMapper;

    @Override
    public List<Fund> selectFundById(String fMid) {
        return fundManagerWebBeanMapper.selectFundById(fMid);
    }

    @Override
    public Integer selectManagerFundCountById(String fMid) {
        return fundManagerWebBeanMapper.selectManagerFundCountById(fMid);
    }
    @Override
    public FundManagerWebBean selectFundManagerWebBeanById(String fMid){
        return fundManagerWebBeanMapper.selectFundManagerWebBeanById(fMid);
    }
}
